package org.gx.tool.hptool.pojo;

import java.util.HashSet;
import java.util.Set;

public class EntitySturct {
	private String sturctName;
	private String sturctId;
	private String description;
	private Project project;
	private String structPackagePath;
	private Set<FieldPorperty> fields = new HashSet<FieldPorperty>();
	
	
	public EntitySturct (String sturctName) {
		this.sturctName = sturctName;
		
	}
	public String getSturctName() {
		return sturctName;
	}
	
	public void setSturctName(String sturctName) {
		this.sturctName = sturctName;
	}
	
	public String getSturctId() {
		return sturctId;
	}
	
	public void setSturctId(String sturctId) {
		this.sturctId = sturctId;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	

	public Set<FieldPorperty> getFields() {
		return fields;
	}

	public void setFields(Set<FieldPorperty> fields) {
		this.fields = fields;
	}

	public void addField(FieldPorperty field) {
		this.fields.add(field);
	}
	
	public String getStructPackagePath() {
		return structPackagePath;
	}
	
	public void setStructPackagePath(String structPackagePath) {
		this.structPackagePath = structPackagePath;
	}
	
	
	
	
}
